Property

class Property

Paint/Layout properties for Layer

Types

Link copied to clipboard
annotation class ANCHOR
Whether extruded geometries are lit relative to the map or viewport.
Link copied to clipboard
Orientation of circle when map is pitched.
Link copied to clipboard
Controls the scaling behavior of the circle when the map is pitched.
Link copied to clipboard
Controls the frame of reference for `circle-translate`.
Link copied to clipboard
Controls the frame of reference for `fill-extrusion-translate`.
Link copied to clipboard
Controls the frame of reference for `fill-translate`.
Link copied to clipboard
Direction of light source when map is rotated.
Link copied to clipboard
annotation class ICON_ANCHOR
Part of the icon placed closest to the anchor.
Link copied to clipboard
Orientation of icon when map is pitched.
Link copied to clipboard
In combination with `symbol-placement`, determines the rotation behavior of icons.
Link copied to clipboard
Scales the icon to fit around the associated text.
Link copied to clipboard
Controls the frame of reference for `icon-translate`.
Link copied to clipboard
annotation class LINE_CAP
The display of line endings.
Link copied to clipboard
annotation class LINE_JOIN
The display of lines when joining.
Link copied to clipboard
Controls the frame of reference for `line-translate`.
Link copied to clipboard
The resampling/interpolation method to use for overscaling, also known as texture magnification filter
Link copied to clipboard
Label placement relative to its geometry.
Link copied to clipboard
Controls the order in which overlapping symbols in the same layer are rendered
Link copied to clipboard
annotation class TEXT_ANCHOR
Part of the text placed closest to the anchor.
Link copied to clipboard
Text justification options.
Link copied to clipboard
Orientation of text when map is pitched.
Link copied to clipboard
In combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.
Link copied to clipboard
Specifies how to capitalize text, similar to the CSS `text-transform` property.
Link copied to clipboard
Controls the frame of reference for `text-translate`.
Link copied to clipboard
The property allows control over a symbol's orientation.
Link copied to clipboard
annotation class VISIBILITY

Properties

Link copied to clipboard
val ANCHOR_MAP: String = "map"
The position of the light source is aligned to the rotation of the map.
Link copied to clipboard
val ANCHOR_VIEWPORT: String = "viewport"
The position of the light source is aligned to the rotation of the viewport.
Link copied to clipboard
The circle is aligned to the plane of the map.
Link copied to clipboard
The circle is aligned to the plane of the viewport.
Link copied to clipboard
Circles are scaled according to their apparent distance to the camera.
Link copied to clipboard
Circles are not scaled.
Link copied to clipboard
The circle is translated relative to the map.
Link copied to clipboard
The circle is translated relative to the viewport.
Link copied to clipboard
The fill extrusion is translated relative to the map.
Link copied to clipboard
The fill extrusion is translated relative to the viewport.
Link copied to clipboard
The fill is translated relative to the map.
Link copied to clipboard
The fill is translated relative to the viewport.
Link copied to clipboard
The hillshade illumination is relative to the north direction.
Link copied to clipboard
The hillshade illumination is relative to the top of the viewport.
Link copied to clipboard
val ICON_ANCHOR_BOTTOM: String = "bottom"
The bottom of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_BOTTOM_LEFT: String = "bottom-left"
The bottom left corner of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_BOTTOM_RIGHT: String = "bottom-right"
The bottom right corner of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_CENTER: String = "center"
The center of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_LEFT: String = "left"
The left side of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_RIGHT: String = "right"
The right side of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_TOP: String = "top"
The top of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_TOP_LEFT: String = "top-left"
The top left corner of the icon is placed closest to the anchor.
Link copied to clipboard
val ICON_ANCHOR_TOP_RIGHT: String = "top-right"
The top right corner of the icon is placed closest to the anchor.
Link copied to clipboard
Automatically matches the value of ICON_ROTATION_ALIGNMENT.
Link copied to clipboard
The icon is aligned to the plane of the map.
Link copied to clipboard
The icon is aligned to the plane of the viewport.
Link copied to clipboard
When SYMBOL_PLACEMENT is set to SYMBOL_PLACEMENT_POINT, aligns icons east-west.
Link copied to clipboard
Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of SYMBOL_PLACEMENT.
Link copied to clipboard
The icon is scaled in both x- and y-dimensions.
Link copied to clipboard
The icon is scaled in the y-dimension to fit the height of the text.
Link copied to clipboard
The icon is displayed at its intrinsic aspect ratio.
Link copied to clipboard
The icon is scaled in the x-dimension to fit the width of the text.
Link copied to clipboard
Icons are translated relative to the map.
Link copied to clipboard
Icons are translated relative to the viewport.
Link copied to clipboard
val LINE_CAP_BUTT: String = "butt"
A cap with a squared-off end which is drawn to the exact endpoint of the line.
Link copied to clipboard
val LINE_CAP_ROUND: String = "round"
A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.
Link copied to clipboard
val LINE_CAP_SQUARE: String = "square"
A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.
Link copied to clipboard
val LINE_JOIN_BEVEL: String = "bevel"
A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.
Link copied to clipboard
val LINE_JOIN_MITER: String = "miter"
A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.
Link copied to clipboard
val LINE_JOIN_ROUND: String = "round"
A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.
Link copied to clipboard
The line is translated relative to the map.
Link copied to clipboard
The line is translated relative to the viewport.
Link copied to clipboard
val NONE: String = "none"
The layer is hidden.
Link copied to clipboard
(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled
Link copied to clipboard
Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled
Link copied to clipboard
The label is placed along the line of the geometry.
Link copied to clipboard
The label is placed at the center of the line of the geometry.
Link copied to clipboard
The label is placed at the point where the geometry is located.
Link copied to clipboard
If symbol sort key is set, sort based on that.
Link copied to clipboard
Symbols will be rendered in the same order as the source data with no sorting applied.
Link copied to clipboard
val SYMBOL_Z_ORDER_VIEWPORT_Y: String = "viewport-y"
Symbols will be sorted by their y-position relative to the viewport.
Link copied to clipboard
val TEXT_ANCHOR_BOTTOM: String = "bottom"
The bottom of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_BOTTOM_LEFT: String = "bottom-left"
The bottom left corner of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_BOTTOM_RIGHT: String = "bottom-right"
The bottom right corner of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_CENTER: String = "center"
The center of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_LEFT: String = "left"
The left side of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_RIGHT: String = "right"
The right side of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_TOP: String = "top"
The top of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_TOP_LEFT: String = "top-left"
The top left corner of the text is placed closest to the anchor.
Link copied to clipboard
val TEXT_ANCHOR_TOP_RIGHT: String = "top-right"
The top right corner of the text is placed closest to the anchor.
Link copied to clipboard
The text is aligned towards the anchor position.
Link copied to clipboard
val TEXT_JUSTIFY_CENTER: String = "center"
The text is centered.
Link copied to clipboard
The text is aligned to the left.
Link copied to clipboard
val TEXT_JUSTIFY_RIGHT: String = "right"
The text is aligned to the right.
Link copied to clipboard
Automatically matches the value of TEXT_ROTATION_ALIGNMENT.
Link copied to clipboard
The text is aligned to the plane of the map.
Link copied to clipboard
The text is aligned to the plane of the viewport.
Link copied to clipboard
When SYMBOL_PLACEMENT is set to SYMBOL_PLACEMENT_POINT, aligns text east-west.
Link copied to clipboard
Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of SYMBOL_PLACEMENT.
Link copied to clipboard
val TEXT_TRANSFORM_LOWERCASE: String = "lowercase"
Forces all letters to be displayed in lowercase.
Link copied to clipboard
The text is not altered.
Link copied to clipboard
val TEXT_TRANSFORM_UPPERCASE: String = "uppercase"
Forces all letters to be displayed in uppercase.
Link copied to clipboard
The text is translated relative to the map.
Link copied to clipboard
The text is translated relative to the viewport.
Link copied to clipboard
If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally.
Link copied to clipboard
If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically.
Link copied to clipboard
val VISIBLE: String = "visible"
The layer is shown.